package com.scse.bms.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.sql.Timestamp;

/**
 * @Title: HistoryDO
 * @Author: 吴赠禹
 * @Date: 2021/2/24 7:12
 * @Version: 1.0
 * @Description: 对应t_history（用户浏览记录表）
 */


@Getter
@Setter
@ToString
public class HistoryDO {

    private Integer id;
    private Integer userId;
    private Integer bookId;
    private Integer themeId;
    private Timestamp time;

    public HistoryDO() {
    }

    public HistoryDO(Integer userId, Integer bookId, Integer themeId) {
        this.userId = userId;
        this.bookId = bookId;
        this.themeId = themeId;
    }
}
